home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 April: Mac OS SDK / Dev.CD Apr 98 SDK1.toast / Development Kits (Disc 1) / Interfaces&Libraries / Universal / Interfaces / PInterfaces / QD3DAcceleration.p < prev    next >
Encoding:
Text File  |  1998-02-12  |  2.4 KB  |  93 lines  |  [TEXT/MPS ]

  1. {
  2.      File:        QD3DAcceleration.p
  3.  
  4.      Contains:    Header file for low-level 3D driver API                            
  5.  
  6.      Version:    Technology:    Quickdraw 3D 1.5.4
  7.                  Release:    Universal Interfaces 3.1
  8.  
  9.      Copyright:    © 1995-1998 by Apple Computer, Inc., all rights reserved.
  10.  
  11.      Bugs?:        Please include the the file and version information (from above) with
  12.                  the problem description.  Developers belonging to one of the Apple
  13.                  developer programs can submit bug reports to:
  14.  
  15.                      devsupport@apple.com
  16.  
  17. }
  18. {$IFC UNDEFINED UsingIncludes}
  19. {$SETC UsingIncludes := 0}
  20. {$ENDC}
  21.  
  22. {$IFC NOT UsingIncludes}
  23.  UNIT QD3DAcceleration;
  24.  INTERFACE
  25. {$ENDC}
  26.  
  27. {$IFC UNDEFINED __QD3DACCELERATION__}
  28. {$SETC __QD3DACCELERATION__ := 1}
  29.  
  30. {$I+}
  31. {$SETC QD3DAccelerationIncludes := UsingIncludes}
  32. {$SETC UsingIncludes := 1}
  33.  
  34. {$IFC UNDEFINED __QD3D__}
  35. {$I QD3D.p}
  36. {$ENDC}
  37.  
  38.  
  39. {$PUSH}
  40. {$ALIGN POWER}
  41. {$LibExport+}
  42.  
  43. {*****************************************************************************
  44.  **                                                                             **
  45.  **                         Vendor ID definitions                             **
  46.  **                                                                             **
  47.  ****************************************************************************}
  48. {
  49.  * If kQAVendor_BestChoice is used, the system chooses the "best" drawing engine
  50.  * available for the target device. This should be used for the default.
  51.  }
  52.  
  53. CONST
  54.     kQAVendor_BestChoice        = -1;
  55.  
  56. {
  57.  * The other definitions (kQAVendor_Apple, etc.) identify specific vendors
  58.  * of drawing engines. When a vendor ID is used in conjunction with a
  59.  * vendor-defined engine ID, a specific drawing engine can be selected.
  60.  }
  61.     kQAVendor_Apple                = 0;
  62.     kQAVendor_ATI                = 1;
  63.     kQAVendor_Radius            = 2;
  64.     kQAVendor_Mentor            = 3;
  65.     kQAVendor_Matrox            = 4;
  66.     kQAVendor_Yarc                = 5;
  67.     kQAVendor_DiamondMM            = 6;
  68.     kQAVendor_3DLabs            = 7;
  69.     kQAVendor_D3DAdaptor        = 8;
  70.     kQAVendor_IXMicro            = 9;
  71.  
  72. {*****************************************************************************
  73.  **                                                                             **
  74.  **                         Apple's engine ID definitions                         **
  75.  **                                                                             **
  76.  ****************************************************************************}
  77.     kQAEngine_AppleSW            = 0;                            {  Default software rasterizer }
  78.     kQAEngine_AppleHW            = -1;                            {  Apple accelerator }
  79.     kQAEngine_AppleHW2            = 1;                            {  Another Apple accelerator }
  80.     kQAEngine_AppleHW3            = 2;                            {  Another Apple accelerator }
  81.  
  82.  
  83. {$ALIGN RESET}
  84. {$POP}
  85.  
  86. {$SETC UsingIncludes := QD3DAccelerationIncludes}
  87.  
  88. {$ENDC} {__QD3DACCELERATION__}
  89.  
  90. {$IFC NOT UsingIncludes}
  91.  END.
  92. {$ENDC}
  93.